import java.util.Arrays;

/**
 * @Author: fzykd
 * Date: 2024-04-16
 * Time: 16:23
 * User: LQH
 */


public class Demo {
    public static void main(String[] args) {

        String s = "helloword";

        System.out.println(s.replace('e', 'E'));

        String[] ls = s.split("l");

        System.out.println(ls.length);

        System.out.println(Arrays.toString(ls));

        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append("a");

    }
}
